package cate.game.role.farm.endless.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBEndless;

@ClientMsg(title = "获取当前可供选择的buff的选项ID们 の 请求")
public class EndlessOptionsReq implements MsgInput {
    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.sendNow(new EndlessOptionsResp(cc.getRole().getFarm().endless.cur.getOptionIds()));
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBEndless.OPTIONS_REQ;
    }
}
